<?php

	require_once 'Vehingle.php';
	
	class Car extends Vehingle {
		public function  __construct($maxSpeed,$model,$color,$power) {
			parent::__construct($maxSpeed,$model,$color,$power);
			$this->Type = "Car";
		}
	}
	
	$car=new Car(259,"Mercedes","Blue",163);
	$car->printInfo();
	
	$car->changeColor("red");
	$car->printInfo();
?>